<template>
  <div>
    <h2>HOME</h2>
  <div>
    <router-link to="/home/music">字符串写法</router-link><br>
    <router-link :to="{path:'/home/music'} ">对象写法</router-link><br>
    <router-link :to="{name:'music'} ">name写法</router-link><br>
    <router-link to="/home/news">news</router-link>
    <router-view></router-view>
  </div>
  </div>
</template>

<script>
export default {
  name: "Home",
};
</script>

<style>
</style>